let hd = "houdunren.com";
let a = "u";
console.log(/u/.test(hd));
//eval把字符串变成JS表达式
console.log(eval(`/${a}/`).test(hd));
